Empirical Exploration for the Correlation between Class Object-Oriented Connectivity-Based Cohesion and Coupling

نویسنده

  • Jehad Al Dallal
چکیده

Attributes and methods are the basic contents of an object-oriented class. The connectivity among these class members and the relationship between the class and other classes play an important role in determining the quality of an object-oriented system. Class cohesion evaluates the degree of relatedness of class attributes and methods, whereas class coupling refers to the degree to which a class is related to other classes. Researchers have proposed several class cohesion and class coupling measures. However, the correlation between class coupling and class cohesion measures has not been thoroughly studied. In this paper, using classes of three open-source Java systems, we empirically investigate the correlation between several measures of connectivity-based class cohesion and coupling. Four connectivity-based cohesion measures and eight coupling measures are considered in the empirical study. The empirical study results show that class connectivity-based cohesion and coupling internal quality attributes are inversely correlated. The strength of the correlation depends highly on the cohesion and coupling measurement approaches. Keywords—Object-oriented class, software quality, class cohesion measure, class coupling measure.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Revisiting Class Cohesion: An empirical investigation on several systems

Class cohesion is considered as one of most important object-oriented software attributes. Cohesion refers to the degree of relatedness between members in a class. High cohesion is a desirable property of classes. Several metrics have been proposed in literature in order to measure class cohesion in object-oriented systems. They capture class cohesion in terms of connections between members wit...

متن کامل

Theoretical Exploration for the Impact of Accounting for Special Methods in Connectivity-Based Cohesion Measurement

Class cohesion is a key object-oriented software quality attribute that is used to evaluate the degree of relatedness of class attributes and methods. Researchers have proposed several class cohesion measures. However, the effect of considering the special methods (i.e., constructors, destructors, and access and delegation methods) in cohesion calculation is not thoroughly theoretically studied...

متن کامل

Fault prediction and the discriminative powers of connectivity-based object-oriented class cohesion metrics

Context: Several metrics have been proposed to measure the extent to which class members are related. Connectivity-based class cohesion metrics measure the degree of connectivity among the class members. Objective: We propose a new class cohesion metric that has higher discriminative power than any of the existing cohesion metrics. In addition, we empirically compare the connectivity and non-co...

متن کامل

Coupling and Cohesion Measures in Object Oriented Programming

Many coupling and cohesion measures have been introduced in various surveys to identify and measure the design complexity of object oriented systems.A large numbers of metrics have been built and proposed for measuring properties of object-oriented software such as size, inheritance, cohesion and coupling.The coupling is an important aspect in the evaluation of reusability and maintainability o...

متن کامل

A classical view of object-oriented cohesion and coupling

AARON B. BINKLEY AND STEPHEN R. SCHACH Computer Science Department, Vanderbilt University, Box 1679, Station B, Nashville, TN 37235, USA. __________________________________________________________________ Contact: Stephen R. Schach Computer Science Department, Vanderbilt University Box 1679, Station B, Nashville, TN 37235 ☎ 615/322-2924 Fax 615/343-5459 E-mail: [email protected] ________...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015